package com.ibiaoke.goods.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AdjustExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart;

    protected int limitEnd;

    protected String groupByClause;

    public AdjustExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause=groupByClause;
    }

    public String getGroupByClause() {
        return groupByClause;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodIdIsNull() {
            addCriterion("good_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodIdIsNotNull() {
            addCriterion("good_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodIdEqualTo(Integer value) {
            addCriterion("good_id =", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotEqualTo(Integer value) {
            addCriterion("good_id <>", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThan(Integer value) {
            addCriterion("good_id >", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("good_id >=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThan(Integer value) {
            addCriterion("good_id <", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThanOrEqualTo(Integer value) {
            addCriterion("good_id <=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdIn(List<Integer> values) {
            addCriterion("good_id in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotIn(List<Integer> values) {
            addCriterion("good_id not in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdBetween(Integer value1, Integer value2) {
            addCriterion("good_id between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotBetween(Integer value1, Integer value2) {
            addCriterion("good_id not between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodNameIsNull() {
            addCriterion("good_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodNameIsNotNull() {
            addCriterion("good_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodNameEqualTo(String value) {
            addCriterion("good_name =", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotEqualTo(String value) {
            addCriterion("good_name <>", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameGreaterThan(String value) {
            addCriterion("good_name >", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameGreaterThanOrEqualTo(String value) {
            addCriterion("good_name >=", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLessThan(String value) {
            addCriterion("good_name <", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLessThanOrEqualTo(String value) {
            addCriterion("good_name <=", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLike(String value) {
            addCriterion("good_name like", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotLike(String value) {
            addCriterion("good_name not like", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameIn(List<String> values) {
            addCriterion("good_name in", values, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotIn(List<String> values) {
            addCriterion("good_name not in", values, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameBetween(String value1, String value2) {
            addCriterion("good_name between", value1, value2, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotBetween(String value1, String value2) {
            addCriterion("good_name not between", value1, value2, "goodName");
            return (Criteria) this;
        }

        public Criteria andSpecIsNull() {
            addCriterion("spec is null");
            return (Criteria) this;
        }

        public Criteria andSpecIsNotNull() {
            addCriterion("spec is not null");
            return (Criteria) this;
        }

        public Criteria andSpecEqualTo(String value) {
            addCriterion("spec =", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecNotEqualTo(String value) {
            addCriterion("spec <>", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecGreaterThan(String value) {
            addCriterion("spec >", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecGreaterThanOrEqualTo(String value) {
            addCriterion("spec >=", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecLessThan(String value) {
            addCriterion("spec <", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecLessThanOrEqualTo(String value) {
            addCriterion("spec <=", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecLike(String value) {
            addCriterion("spec like", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecNotLike(String value) {
            addCriterion("spec not like", value, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecIn(List<String> values) {
            addCriterion("spec in", values, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecNotIn(List<String> values) {
            addCriterion("spec not in", values, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecBetween(String value1, String value2) {
            addCriterion("spec between", value1, value2, "spec");
            return (Criteria) this;
        }

        public Criteria andSpecNotBetween(String value1, String value2) {
            addCriterion("spec not between", value1, value2, "spec");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(String value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(String value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(String value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(String value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(String value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLike(String value) {
            addCriterion("operator like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotLike(String value) {
            addCriterion("operator not like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<String> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<String> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(String value1, String value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(String value1, String value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNull() {
            addCriterion("shop_id is null");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNotNull() {
            addCriterion("shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopIdEqualTo(Integer value) {
            addCriterion("shop_id =", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotEqualTo(Integer value) {
            addCriterion("shop_id <>", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThan(Integer value) {
            addCriterion("shop_id >", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shop_id >=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThan(Integer value) {
            addCriterion("shop_id <", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThanOrEqualTo(Integer value) {
            addCriterion("shop_id <=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdIn(List<Integer> values) {
            addCriterion("shop_id in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotIn(List<Integer> values) {
            addCriterion("shop_id not in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdBetween(Integer value1, Integer value2) {
            addCriterion("shop_id between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shop_id not between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andAdjustNumIsNull() {
            addCriterion("adjust_num is null");
            return (Criteria) this;
        }

        public Criteria andAdjustNumIsNotNull() {
            addCriterion("adjust_num is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustNumEqualTo(Integer value) {
            addCriterion("adjust_num =", value, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumNotEqualTo(Integer value) {
            addCriterion("adjust_num <>", value, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumGreaterThan(Integer value) {
            addCriterion("adjust_num >", value, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("adjust_num >=", value, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumLessThan(Integer value) {
            addCriterion("adjust_num <", value, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumLessThanOrEqualTo(Integer value) {
            addCriterion("adjust_num <=", value, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumIn(List<Integer> values) {
            addCriterion("adjust_num in", values, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumNotIn(List<Integer> values) {
            addCriterion("adjust_num not in", values, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumBetween(Integer value1, Integer value2) {
            addCriterion("adjust_num between", value1, value2, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustNumNotBetween(Integer value1, Integer value2) {
            addCriterion("adjust_num not between", value1, value2, "adjustNum");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeIsNull() {
            addCriterion("adjust_time is null");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeIsNotNull() {
            addCriterion("adjust_time is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeEqualTo(Date value) {
            addCriterion("adjust_time =", value, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeNotEqualTo(Date value) {
            addCriterion("adjust_time <>", value, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeGreaterThan(Date value) {
            addCriterion("adjust_time >", value, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("adjust_time >=", value, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeLessThan(Date value) {
            addCriterion("adjust_time <", value, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeLessThanOrEqualTo(Date value) {
            addCriterion("adjust_time <=", value, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeIn(List<Date> values) {
            addCriterion("adjust_time in", values, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeNotIn(List<Date> values) {
            addCriterion("adjust_time not in", values, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeBetween(Date value1, Date value2) {
            addCriterion("adjust_time between", value1, value2, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andAdjustTimeNotBetween(Date value1, Date value2) {
            addCriterion("adjust_time not between", value1, value2, "adjustTime");
            return (Criteria) this;
        }

        public Criteria andOutShopIdIsNull() {
            addCriterion("out_shop_id is null");
            return (Criteria) this;
        }

        public Criteria andOutShopIdIsNotNull() {
            addCriterion("out_shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andOutShopIdEqualTo(Integer value) {
            addCriterion("out_shop_id =", value, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdNotEqualTo(Integer value) {
            addCriterion("out_shop_id <>", value, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdGreaterThan(Integer value) {
            addCriterion("out_shop_id >", value, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("out_shop_id >=", value, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdLessThan(Integer value) {
            addCriterion("out_shop_id <", value, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdLessThanOrEqualTo(Integer value) {
            addCriterion("out_shop_id <=", value, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdIn(List<Integer> values) {
            addCriterion("out_shop_id in", values, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdNotIn(List<Integer> values) {
            addCriterion("out_shop_id not in", values, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdBetween(Integer value1, Integer value2) {
            addCriterion("out_shop_id between", value1, value2, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("out_shop_id not between", value1, value2, "outShopId");
            return (Criteria) this;
        }

        public Criteria andOutShopNameIsNull() {
            addCriterion("out_shop_name is null");
            return (Criteria) this;
        }

        public Criteria andOutShopNameIsNotNull() {
            addCriterion("out_shop_name is not null");
            return (Criteria) this;
        }

        public Criteria andOutShopNameEqualTo(String value) {
            addCriterion("out_shop_name =", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameNotEqualTo(String value) {
            addCriterion("out_shop_name <>", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameGreaterThan(String value) {
            addCriterion("out_shop_name >", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameGreaterThanOrEqualTo(String value) {
            addCriterion("out_shop_name >=", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameLessThan(String value) {
            addCriterion("out_shop_name <", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameLessThanOrEqualTo(String value) {
            addCriterion("out_shop_name <=", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameLike(String value) {
            addCriterion("out_shop_name like", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameNotLike(String value) {
            addCriterion("out_shop_name not like", value, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameIn(List<String> values) {
            addCriterion("out_shop_name in", values, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameNotIn(List<String> values) {
            addCriterion("out_shop_name not in", values, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameBetween(String value1, String value2) {
            addCriterion("out_shop_name between", value1, value2, "outShopName");
            return (Criteria) this;
        }

        public Criteria andOutShopNameNotBetween(String value1, String value2) {
            addCriterion("out_shop_name not between", value1, value2, "outShopName");
            return (Criteria) this;
        }

        public Criteria andInShopIdIsNull() {
            addCriterion("in_shop_id is null");
            return (Criteria) this;
        }

        public Criteria andInShopIdIsNotNull() {
            addCriterion("in_shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andInShopIdEqualTo(Integer value) {
            addCriterion("in_shop_id =", value, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdNotEqualTo(Integer value) {
            addCriterion("in_shop_id <>", value, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdGreaterThan(Integer value) {
            addCriterion("in_shop_id >", value, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("in_shop_id >=", value, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdLessThan(Integer value) {
            addCriterion("in_shop_id <", value, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdLessThanOrEqualTo(Integer value) {
            addCriterion("in_shop_id <=", value, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdIn(List<Integer> values) {
            addCriterion("in_shop_id in", values, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdNotIn(List<Integer> values) {
            addCriterion("in_shop_id not in", values, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdBetween(Integer value1, Integer value2) {
            addCriterion("in_shop_id between", value1, value2, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("in_shop_id not between", value1, value2, "inShopId");
            return (Criteria) this;
        }

        public Criteria andInShopNameIsNull() {
            addCriterion("in_shop_name is null");
            return (Criteria) this;
        }

        public Criteria andInShopNameIsNotNull() {
            addCriterion("in_shop_name is not null");
            return (Criteria) this;
        }

        public Criteria andInShopNameEqualTo(String value) {
            addCriterion("in_shop_name =", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameNotEqualTo(String value) {
            addCriterion("in_shop_name <>", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameGreaterThan(String value) {
            addCriterion("in_shop_name >", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameGreaterThanOrEqualTo(String value) {
            addCriterion("in_shop_name >=", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameLessThan(String value) {
            addCriterion("in_shop_name <", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameLessThanOrEqualTo(String value) {
            addCriterion("in_shop_name <=", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameLike(String value) {
            addCriterion("in_shop_name like", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameNotLike(String value) {
            addCriterion("in_shop_name not like", value, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameIn(List<String> values) {
            addCriterion("in_shop_name in", values, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameNotIn(List<String> values) {
            addCriterion("in_shop_name not in", values, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameBetween(String value1, String value2) {
            addCriterion("in_shop_name between", value1, value2, "inShopName");
            return (Criteria) this;
        }

        public Criteria andInShopNameNotBetween(String value1, String value2) {
            addCriterion("in_shop_name not between", value1, value2, "inShopName");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}